<?php
class Flash extends CWidget
{
	public $wid = NULL;
	public $assets_url = NULL;
	public function init()
	{
		$dir = dirname(__FILE__).'/views';
		$this->assets_url = Yii::app()->getAssetManager()->publish($dir);
		parent::init();
	}
	public function run()
	{
		$this->render('default', array('url'=>$this->assets_url));
	}
}